package com.weds.edwx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.awt.dnd.DropTarget;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class SHUserEntity extends BaseEntity implements Serializable {

    @ApiModelProperty(required = true, dataType = "Long", example = "20000001", value = "人员序号")
    private Long userSerial;

    @ApiModelProperty(required = true, dataType = "String", example = "张三", value = "人员姓名")
    private String userName;

    @ApiModelProperty(required = true, dataType = "int", example = "0", value = "人员类型 暂定为0")
    private int cust;

    @ApiModelProperty(required = true, dataType = "String", example = "财务部", value = "员工部门")
    private String userDepname;

    @ApiModelProperty(required = true, dataType = "String", example = "员工", value = "员工职务")
    private String userDuty;

    @ApiModelProperty(required = true, dataType = "Long", example = "200001", value = "员工所属部门序号")
    private Long userDep;

    @ApiModelProperty(required = true, dataType = "float", example = "12", value = "天数或者小时")
    private float times;

    @ApiModelProperty(required = true, dataType = "float", example = "12", value = "次数")
    private float days;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "Date", example = "test", value = "开始时间")
    private Date kssj;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "Date", example = "test", value = "结束时间")
    private Date jssj;

    @ApiModelProperty(required = true, dataType = "String", example = "test", value = "名称")
    private String mc;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "Date", example = "test", value = "打卡日期")
    private Date dkrq;

    @ApiModelProperty(required = true, dataType = "float", example = "test", value = "计算结果")
    private float jsjg;

    private List<SHUserEntity> list;


    public Date getKssj() {
        return kssj;
    }

    public void setKssj(Date kssj) {
        this.kssj = kssj;
    }

    public Date getJssj() {
        return jssj;
    }

    public void setJssj(Date jssj) {
        this.jssj = jssj;
    }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public float getJsjg() {
        return jsjg;
    }

    public void setJsjg(float jsjg) {
        this.jsjg = jsjg;
    }

    public String getUserDuty() {
        return userDuty;
    }

    public void setUserDuty(String userDuty) {
        this.userDuty = userDuty;
    }

    public String getUserDepname() {
        return userDepname;
    }

    public void setUserDepname(String userDepname) {
        this.userDepname = userDepname;
    }

    public Long getUserDep() {
        return userDep;
    }

    public void setUserDep(Long userDep) {
        this.userDep = userDep;
    }

    public float getTimes() {
        return times;
    }

    public void setTimes(float times) {
        this.times = times;
    }

    public float getDays() {
        return days;
    }

    public void setDays(float days) {
        this.days = days;
    }

    public Long getUserSerial() {
        return userSerial;
    }

    public void setUserSerial(Long userSerial) {
        this.userSerial = userSerial;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getCust() {
        return cust;
    }

    public void setCust(int cust) {
        this.cust = cust;
    }

    public Date getDkrq() {
        return dkrq;
    }

    public void setDkrq(Date dkrq) {
        this.dkrq = dkrq;
    }

    public List<SHUserEntity> getList() {
        return list;
    }

    public void setList(List<SHUserEntity> list) {
        this.list = list;
    }
}
